From: Lars Ingebrigtsen Date: Sat, 6 Mar 2021 12:27:34 +0000 (+0100) Subject: Remove mention of using defun- and defvar- as prefixes X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18^2~3661 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=328e7cc475e3cd08fd72b71f985fcee6895e4c7e;p=emacs.git Remove mention of using defun- and defvar- as prefixes * doc/lispref/tips.texi (Coding Conventions): Remove mention of using defun- and defvar- as prefixes, as this is something that we rarely do in Emacs (bug#46899). --- diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi index 4a7793a976d..36c68ee5ced 100644 --- a/doc/lispref/tips.texi +++ b/doc/lispref/tips.texi @@ -75,8 +75,8 @@ example, it is our convention to have commands that list objects named as @samp{list-@var{something}}, e.g., a package called @samp{frob} could have a command @samp{list-frobs}, when its other global symbols begin with @samp{frob-}. Also, constructs that define functions, -variables, etc., work better if they start with @samp{defun} or -@samp{defvar}, so put the name prefix later on in the name. +variables, etc., work better if they start with @samp{define-}, so put +the name prefix later on in the name. This recommendation applies even to names for traditional Lisp primitives that are not primitives in Emacs Lisp---such as